package com.slanmao.mapper;


import com.slanmao.entity.UserInfo;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface UserMapper {

    int insert(UserInfo userInfo);

    List<UserInfo> list(Map<String,Integer> param);

    UserInfo findByOpenId(String openid);

    int count();



}
